package data;

import java.io.Serializable;

//Classe incomplete : nombreuse fonction manquante pour la partie serveur
public class Chauffage extends ItemData implements Serializable
{
	private float temperature;
	private float temperatureMax;
	private float temperatureMin;
	
	public Chauffage()
	{
		super();
		temperature = -1;
		temperatureMax = 0;
		temperatureMin = 0;
	}
	
	public Chauffage(String id, int etat, float temperature, float tMax, float tMin)
	{
		super("Chauffage", id, etat);
		this.temperature = temperature;
		temperatureMax = tMax;
		temperatureMin = tMin;
	}

	public float getTemperature() 
	{
		return temperature;
	}

	public void setTemperature(float temperature) 
	{
		this.temperature = temperature;
	}

	public float getTemperatureMax() 
	{
		return temperatureMax;
	}

	public void setTemperatureMax(float temperatureMax) 
	{
		this.temperatureMax = temperatureMax;
	}

	public float getTemperatureMin() 
	{
		return temperatureMin;
	}

	public void setTemperatureMin(float temperatureMin) 
	{
		this.temperatureMin = temperatureMin;
	}
	
}

